-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add adjecent styles for headings after lists #408
Conversation
Worth ensuring there's an example for this on the typography example page? |
@36degrees Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The review page looks good. I added a couple of comments as I was unsure how two of the new rules relate to "Add adjacent styles for headings after lists" but I might be missing something here.
@@ -139,14 +139,17 @@ | |||
} | |||
|
|||
.govuk-body-m + .govuk-heading-l, | |||
.govuk-body-s + .govuk-heading-l { | |||
.govuk-body-s + .govuk-heading-l, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this rule somehow relate to lists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only thing that's changed is the opening parenthesis has been changed to a comma to allow the extra selectors to be added to the list…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it has, I must be tired 😅
.govuk-body-m + .govuk-heading-s, | ||
.govuk-body-s + .govuk-heading-s { | ||
.govuk-body-s + .govuk-heading-s, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar here, does this relate to lists styling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore my above comment, looks good to me 👍
This adds padding to the top of headings that follow a list
https://trello.com/c/KZx3SKjW/543-ul-and-ol-contextual-spacing